package XMLread;

import java.util.ArrayList;


public class Hallway {
	private String hallwayID;
	private ArrayList<Object> entities;
	
	public Hallway(){
		hallwayID = "";
		entities = new ArrayList<Object>();
	}
	
	public Hallway(String id){
		hallwayID = id;
		entities = new ArrayList<Object>();
	}
	
	public String getHallwayID(){
		return hallwayID;
	}
	
	public void setHallwayID(String id){
		hallwayID = id;
	}
	
	public void addEntity(Object o){
		entities.add(o);
	}
	
	public ArrayList<Object> getEntities(){
		return entities;
	}
}
